package com.itheima.controller;/*
 * @author  xs
 * @date 2022/1/16 13:35
 * @Version  1.0
 * */

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @GetMapping("/user/sendSms")

    public ResponseEntity  sendSms(String telephone ){
        System.out.println(telephone+"000000");
        return ResponseEntity.ok(123);
    }
}
